WCPay\WC_Payments_Checkout A

Total Complexity 51
Dependencies 16
Dependents 3
Total lines 433
Lines of code 267
Logical lines of code 128
Comment lines 111
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
get_payment_fields_js_config()
B
32 16 98
payment_fields()
B
37 16 78
register_scripts_for_zero_order_total()
S
59 6 15
get_enabled_payment_method_config()
S
49 4 31
register_scripts()
S
59 2 16
should_upe_payment_method_show_save_option()
S
71 3 6
set_gateway()
S
73 2 5
init_hooks()
S
62 1 11
__construct()
S
69 1 7